package ru.linnenson.darshana.application.services;

import org.springframework.data.domain.Pageable;
import ru.linnenson.darshana.application.domain.physic.PhysicTask;
import ru.linnenson.darshana.infrastructure.persistence.models.PhysicTaskStore;
import ru.linnenson.darshana.infrastructure.rest.dto.PhysicTasksCriteria;
import java.util.List;

public interface PhysicTasksStoreService {

  List<PhysicTaskStore> search(PhysicTasksCriteria criteria, Pageable pageable);

  void addPhoto(Integer taskId, byte[] bytes);

  void addSolutionPhoto(Integer taskId, byte[] bytes);

  void deleteSolutionPhoto(Integer taskId, String photoId);
}
